-
Notifications
You must be signed in to change notification settings - Fork 1k
Fix week() calculation to start week 1 at days 1–7 #7274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7274 +/- ##
=======================================
Coverage 99.10% 99.10%
=======================================
Files 84 84
Lines 16128 16128
=======================================
Hits 15983 15983
Misses 145 145 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Generated via commit 6c570ce Download link for the artifact containing the test results: ↓ atime-results.zip
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@venom1204 please resolve conflicts @MichaelChirico can you please review because you posted the issue this fixes? |
…o issue____2611
@tdhock done |
Doesn't LGTM because it is a breaking change, not even documented. Maybe we can detect breaking behavior and raise warning that can be suppressed with a temporary global option? |
closes #2611
This PR fixes the long-standing bug in week() (#2611) by defining weeks sequentially: days 1–7 are week 1, days 8–14 week 2, etc.
hi @MichaelChirico @tdhock can you please have a review when you got time .
thanks.